package com.smart.reader.enums;

public enum SuccessResultCode {
    /**
     * 操作成功
     */
    SUCCESS(200, "操作成功"),
    /**
     * 认证成功
     */
    AUTHENTICATION_SUCCESS(200, "认证成功"),
    /**
     * Token刷新成功
     */
    REFRESH_ACCESS_TOKEN_SUCCESS(200, "Token刷新成功"),
    /**
     * 退出登录成功
     */
    LOGOUT_SUCCESS(200, "退出登录成功");
    private Integer code;
    private String msg;
    public Integer getCode() {
        return code;
    }
    public String getMsg() {
        return msg;
    }

    SuccessResultCode(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
